-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.9.5
-
Code
-
Classes
- PackageRuleProcessor
Total Complexity |
127 |
Dependencies |
22 |
Dependents |
1 |
Total lines |
832 |
Lines of code |
474 |
Logical lines of code |
318 |
Comment lines |
165 |
Methods |
24 |
Properties |
16 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
applyRangeDiscounts() |
D |
26 |
43 |
158 |
applyProductAdjustment() |
C |
35 |
24 |
80 |
isProductMatched() |
A |
46 |
12 |
38 |
process() |
A |
46 |
7 |
45 |
sortItems() |
A |
54 |
8 |
22 |
__construct() |
S |
55 |
3 |
18 |
isRuleMatchedCart() |
S |
64 |
3 |
11 |
addFreeProducts() |
S |
64 |
3 |
10 |
addAutoAddProducts() |
S |
64 |
3 |
10 |
applyChangesToCart() |
S |
64 |
3 |
10 |
applyToCart() |
S |
60 |
2 |
14 |
addAutoAdds() |
S |
72 |
2 |
6 |
createSets() |
S |
65 |
2 |
9 |
addGifts() |
S |
72 |
2 |
6 |
getRuleTimer() |
S |
82 |
1 |
3 |
getLastExecTime() |
S |
81 |
1 |
3 |
collectSets() |
S |
64 |
1 |
10 |
withContext() |
S |
81 |
1 |
3 |
applyCartAdjustments() |
S |
80 |
1 |
3 |
checkConditions() |
S |
80 |
1 |
3 |
checkLimits() |
S |
80 |
1 |
3 |
getRule() |
S |
82 |
1 |
3 |
getStatus() |
S |
82 |
1 |
3 |
getProcessorRule() |
S |
82 |
1 |
3 |